package com.hotel.service;

import com.hotel.bean.Regist;

public interface UserService {
	
	//注册
		boolean regist(Regist user);
		
		//登录
		Regist login(Regist user);
		
		//根据id查询用户
		Regist queryById(String id);
		
		//根据id查询用户
		Regist queryByName(String name);

}
